package com.papper.common.enums;

import com.papper.common.enums.interfaces.EnumInterface;

public enum DataStatusEnum implements EnumInterface {
    /**
     *
     */
    OPEN(0, "启用"),

    CLOSE(1, "禁用"),

    HOLD(2, "保留"),

    UNKOWN(3, "未知"),

    DEL(9, "已删除");

    private Integer code;
    private String  message;

    DataStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
